package com.southwind.service;

import com.southwind.entity.Student;

import java.util.List;

public interface StudentService {
    public List<Student> list();
    public List<Student> search(String key, String value);
    public void save(Student student);
    public void update(Student student, Integer oldDormitory);
    public void delete(Integer studentId, Integer dormitoryId);
    public List<Student> moveoutList();
    public List<Student> searchForMoveout(String key, String value);
    public List<Student> findByDormitoryId(Integer id);
}
